package uit.jee.lib.dto;

/**
 *
 * @author ngloc_it
 */
public class CommentDTO {
    public final static String COMMENT_ID = "Macomment";
    public final static String COMMENT_BOOK_ID = "MaSach";
    public final static String COMMENT_READER_ID = "MaDocGia";
    public final static String COMMENT_CONTENTS = "NoiDungCM";
    public final static String COMMENT_DATE = "NgayCM";
    
    private String commentId;
    private String bookId;
    private String readerId;
    private String contents;
    private String date;

    private String bookName;
    private String readerName;

    public CommentDTO() {
    }

    public CommentDTO(String commentId, String bookId, String readerId, String contents, String date) {
        this.commentId = commentId;
        this.bookId = bookId;
        this.readerId = readerId;
        this.contents = contents;
        this.date = date;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getReaderName() {
        return readerName;
    }

    public void setReaderName(String readerName) {
        this.readerName = readerName;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getReaderId() {
        return readerId;
    }

    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }
}